<%--
  Created by IntelliJ IDEA.
  User: colt
  Date: 2020/1/1
  Time: 17:52
  To change this template use File | Settings | File Templates.
--%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@page isELIgnored="false" %>
<html>
<head>
    <title>医生查询</title>
    <jsp:include page="layout/_import.jsp"></jsp:include>
    <style>
        a {
            color: #ffffff !important;
        }

        nav a {
            color: #000000 !important;
        }

        a:hover {
            cursor: pointer;
        }
    </style>
</head>
<body>
<jsp:include page="layout/_nav.jsp"></jsp:include>
<div class="container">

    <c:forEach items="${vets}" var="v">
        <div class="row">
            <div class="col-sm-12 col-md-6 col-lg-4 py-3 px-lg-5 ">
                <div class="card" style="width: 100%;">
                    <img src="http://pic1.zhimg.com/50/v2-abb6330e8721322cea1427db672439d4_hd.jpg" class="card-img-top" alt="图片加载失败">
                    <div class="card-body">
                        <h5 class="card-title">医生姓名</h5>
                        <input type="text" name="vetName" value="${v.name}">
                        <p class="card-text">
                            医生专业
                        </p>
                        <input type="text" name="specName" value="${v.listToString()}"><br>
                    </div>
                </div>
            </div>
        </div>
    </c:forEach>
</div>
</body>
</html>